/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "定价差异分析汇总表",TableName = "cw_djlc_analyze_total_table")]
    public partial class cw_djlc_analyze_total_table:BaseEntity
    {
        /// <summary>
       ///差异分析汇总表id
       /// </summary>
       [Key]
       [Display(Name ="差异分析汇总表id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid cw_djlc_analyze_total_id { get; set; }

       /// <summary>
       ///定价表id
       /// </summary>
       [Display(Name ="定价表id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       public Guid? cw_djlc_djzb_id { get; set; }

       /// <summary>
       ///产品定价流程编号
       /// </summary>
       [Display(Name ="产品定价流程编号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string cw_djlc_code { get; set; }

       /// <summary>
       ///组号
       /// </summary>
       [Display(Name ="组号")]
       [MaxLength(10)]
       [Column(TypeName="varchar(10)")]
       [Editable(true)]
       public string groupnum { get; set; }

       /// <summary>
       ///组号名称
       /// </summary>
       [Display(Name ="组号名称")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string groupnumname { get; set; }

       /// <summary>
       ///底稿
       /// </summary>
       [Display(Name ="底稿")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? oldprice { get; set; }

       /// <summary>
       ///对比
       /// </summary>
       [Display(Name ="对比")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? newprice { get; set; }

       /// <summary>
       ///差异
       /// </summary>
       [Display(Name ="差异")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? analyzeprice { get; set; }

       /// <summary>
       ///研发确认是否合理
       /// </summary>
       [Display(Name ="研发确认是否合理")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string is_rational { get; set; }

       /// <summary>
       ///原因
       /// </summary>
       [Display(Name ="原因")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string reason { get; set; }

       /// <summary>
       ///原因附件
       /// </summary>
       [Display(Name ="原因附件")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string reasonfileurl { get; set; }

       /// <summary>
       ///采购确认是否合理
       /// </summary>
       [Display(Name ="采购确认是否合理")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string caigou_is_rational { get; set; }

       /// <summary>
       ///采购反馈
       /// </summary>
       [Display(Name ="采购反馈")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string feedback { get; set; }

       /// <summary>
       ///采购反馈附件
       /// </summary>
       [Display(Name ="采购反馈附件")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string feedbackurl { get; set; }

       /// <summary>
       ///差异分析确认人
       /// </summary>
       [Display(Name ="差异分析确认人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string reasonCreator { get; set; }

       /// <summary>
       ///差异分析确认时间
       /// </summary>
       [Display(Name ="差异分析确认时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? reasonCreateDate { get; set; }

       /// <summary>
       ///差异分析确认修改人
       /// </summary>
       [Display(Name ="差异分析确认修改人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string reasonModifier { get; set; }

       /// <summary>
       ///差异分析确认修改时间
       /// </summary>
       [Display(Name ="差异分析确认修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? reasonModifyDate { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateDate { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyDate { get; set; }

       
    }
}